package com.oceansoft.mobile.econsole.scheduled;

import com.oceansoft.mobile.econsole.modules.message.service.PushMessageService;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * Created by jin.xu 2014/10/22 9:57.
 */
@Component
public class MessageTask {
    @Resource
    private PushMessageService pushMessageService;

    public void pushMessage() {
        pushMessageService.pushMessage();
    }
}
